<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<%@taglib uri="/WEB-INF/dianning.tld" prefix="dianning"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="/css/top.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
<link href="/css/index.css" rel="stylesheet" type="text/css" />
<link href="/css/vip.css" rel="stylesheet" type="text/css" />
<link href="/css/avatar.css" rel="stylesheet" type="text/css" />
<link href="/css/validator.css" rel="stylesheet" type="text/css" />
<link href="/css/photoupload.css" rel="stylesheet" type="text/css" />
<link href="/css/jquery.wysiwyg.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/jquery_last.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/formValidator.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/formValidatorRegex.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/DateTimeMask.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/profileupload.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/popup.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/jquery.wysiwyg.js"></script>
<script type="text/javascript" charset="utf-8" src="/js/nicEdit-latest.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<link rel="icon" type="images/gif" href="animated_favicon1.gif" />
<title>点宁网[<dianning:webinfo type="area"/>分类信息]<dianning:webinfo type="area"/>免费发布信息<dianning:webinfo type="poweredby"/></title>
<meta name="Description" content="<dianning:webinfo type="area"/>分类信息网为您提供<dianning:webinfo type="area"/>分类信息，您可以免费发布和查询求职招聘,兼职,房屋出租,二手市场,生活服务,兼职,黄页等分类信息."/>
<meta name="Keywords" content="<dianning:webinfo type="area"/>免费发布信息, <dianning:webinfo type="area"/>分类信息, <dianning:webinfo type="area"/>信息港, <dianning:webinfo type="area"/>热线, <dianning:webinfo type="area"/>免费发布广告，<dianning:webinfo type="area"/>114"/>
</head>
<body>
<div class="bgtop">
<s:include value="/top.jsp" />
</div>
<div class="content">
<s:include value="/WEB-INF/jsp/user/left.jsp" />
	<div class="vipr"><h2>商家网店</h2>
	<ul class="viprheight">
   <div class="caption">
<s:if test="prfile.status==0"> 
<h4>请与管理员联系开通个人主页</h4>  
</s:if>
<s:if test="prfile.status==3"> 
<h4>您的个人主页己被禁用</h4> 
</s:if> 
</div>
<div class="vipr1"><h4><a href="/user/profile.action?action=vip">返回网店管理</a><font style="margin:0px 20px;">管理商家网店备注信息</font></h4></div>
<DIV class=gr_info>
<DIV class=c></DIV>
<form name="add" id="add" method="post" action="/user/profile.action">
<s:hidden name="action"/>
<TABLE class=basetb border=0 cellSpacing=0 cellPadding=0 width="100%">
 <TBODY>
 <TR>
    <TD width="100">提示：</TD>
    <TD style="HEIGHT: 70px">
	1、内容每次添加或修改后，需从新审核30分钟内通过。<br />
	2、商品信息可以上传8个段落，排序从1到8添加。 <br />
	3、一个段落内容最多2千字</TD>
 </TR>
  <TR>
    <TD width="100">信息说明： </TD>
    <TD style="HEIGHT: 70px"><textarea name="content" cols="70" rows="15" id="content" class="con111"></textarea><br /><font id="contentTip"></font></TD>
 </TR>
 <TR id=pdv>
 <TD valign="top">上传照片： </TD>
    <TD><div id="uploadPic"><ul></ul></div>
	  <div id="uploader"></div>
      <span>可上传 8 张图片，每张最大2M，支持jpg/gif格式。上传图片越小，上传越快。</span></TD>
  </TR>
  <TR>
    <TD width="100">显示排序： </TD>
    <TD><input id="orders" name="orders" class="text1" type="text" /><font id="ordersTip"></font></TD>
 </TR>
   <TR>
    <TD>&nbsp;</TD>
    <TD><input type="submit" id="fabu" class="fabu1" value="　　发布　　" ct="submit" /></TD>
 </TR>
</TBODY></TABLE>
</DIV>
  </ul>
    </div>
    </div>
<div class="content">
<s:include value="/foot.jsp" />
</div>
<script type="text/javascript">  
bkLib.onDomLoaded(nicEditors.allTextAreas);
$(document).ready(function(){
	createUploader();
	$.formValidator.initConfig({formid:"add",errorfocus: true});
	$("#content").formValidator({onshow:"请填写信息说明",onfocus: "10~2000个字之间",empty:true,onempty:"信息空为上一段落的图片信息"}).regexValidator({ regexp: "^[\\s\\S]*$", onerror: "请填写信息说明" }).regexValidator({ regexp: "^[\\s\\S]{10,}$", onerror: "信息说明不足10个字" }).regexValidator({ regexp: "^([\\s\\S]){10,2000}$", onerror: "信息说明应在10~2000个字之间" });
	$("#orders").formValidator({onshow:"请输入1到8按顺序排列商品信息",onfocus: "只能填写数字"}).regexValidator({ regexp: "^\\S+$", onerror: "请输入1到8按顺序排列商品信息" }).regexValidator({ regexp: "^[1-9]{1,1}$", onerror: "排序为一位数字" });
	
	
});      
function createUploader(){            
	var uploader = new qq.FileUploader({
	element: document.getElementById('uploader'),
	action: '<s:property value="domain"/>/upPhoto.action?action=infoPic',
	allowedExtensions:['jpg','gif','jpeg']
    });           
}
</script>
</body>
</html>
